#ifndef _BLUE_TOOTH_H_
#define _BLUE_TOOTH_H_



#ifdef __C51__

#include "typedef.h"
#include "key.h"
#include "msgfor_hot.h"
#include "rtc_mode.h"

void blue_tooth_hdlr(void);
void uart_isr(void);

#endif

enum {

	BT_PP,
	BT_PP_HOLD,
	BT_PP_HOLD_RELEASE,
	BT_NEXT_FILE,	
	BT_PREV_FILE,	
	BT_VOL_UP,	
	BT_VOL_DOWN,
	BT_VOL_UP_HOLD,	
	BT_VOL_DOWN_HOLD,	
	BT_VOL_HOLD_RELEASE,
};


enum {
	
	BT_STA_STOP,
	BT_STA_PAUSE,
	BT_STA_PLAY,	
	BT_STA_MASK=0x80,	
};


typedef enum {
	
	BT_POWER_ON,
	BT_PAIR_MODE,
	BT_PAIRED,
	BT_CONECTED_A2DP,
	BT_CONECTED_AVRCP,
	BT_INCOMING_CALL,
	BT_CALL_MISS,
	BT_CALL_DROP,
	BT_CALL_ACTIVE,		
	BT_DISCONECT,	
	BT_ACK,
	BT_DEV_ISSUE_PLAY,
	BT_STATUS_MAX,
}AT_REV_CMD;

typedef enum {
	
	BT_PLAY,
	BT_NEXT,
	BT_PREV,
	BT_VOL_P,
	BT_VOL_M,	
	BT_FAST_FARWORD,
	BT_REWIND,
	BT_STOP,
	BT_DISPAIR,
	BT_FAST_PAIRING_MODE,	
	BT_ANSWER_CALL,
	BT_END_CALL,

	
	BT_CMD_SET_MAX,
}AT_PROMPT_CMD;

enum {

	CALL_IDLE,
	INCOMING_CALL,
	OUTGOING_CALL,
	CALL_ACTIVE,
};
#endif

